package com.bigfish.gbs.service;

import com.alipay.api.AlipayResponse;
import com.bigfish.gbs.dto.Result;

import java.util.Map;

/**
 * @Author Joycessh
 * @Description
 * @Date 12/24/18 10:43 PM
 */
public interface AlipayService {

    Result pay(Long orderId,String userId);
    void dumpResponse(AlipayResponse response);
    Result aliCallback(Map<String,String> params);
    Result queryOrderPayStatus(String userId,Long orderId);
}
